<?php
html::printPath(
    array(
        'viSeminar.form-title' => '/admin/viSeminar/overview',
        $viSeminar['name'] => '/admin/viSeminar/display?id=' . $viSeminar['id'],
        'viSeminar.billTable-title' => '/admin/viSeminar/billTable?id=' . $viSeminar['id'],
        'viSeminar.cashPaymentsRecordNumber-title' => ''
    ),
    'viSeminar.cashPaymentsRecordNumber-desc'
);
$msg->printMessages();

$fb = new FormBuilder('viSeminar', $formData);
$fb->setAction('/admin/viSeminar/cashPaymentsRecordNumber');
$fb->hidden('vi_seminar_id');
$fb->text('cash_record_number')->required();
$fb->submitButton();
$fb->write();